package com.suxin.datahub.core;

import com.suxin.datahub.core.reader.Reader;
import com.suxin.datahub.core.writer.Writer;

/**
 * @Classname ReaderWriter
 * @Description [ TODO ]
 * @Author Tang
 * @Date 2020/11/11 13:11
 * @Created by ASUS
 */
public interface ReaderWriter {

    /**
     * 执行复制操作
     * @param reader
     * @param writer
     * @return
     */
    public long execute(Reader reader, Writer writer);

}
